package com.qms.qep.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qms.common.annotation.Excel;
import com.qms.common.core.domain.BaseEntity;

/**
 * 签名人对象 qep_signatory
 * 
 * @author qms
 * @date 2023-05-20
 */
public class QepSignatory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签名人ID */
    private Long id;

    /** 签名人姓名 */
    @Excel(name = "签名人姓名")
    private String name;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 签名图片URL */
    @Excel(name = "签名图片URL")
    private String imageUrl;

    /** 状态（1正常 0停用） */
    @Excel(name = "状态", readConverterExp = "1=正常,0=停用")
    private String status;

    /** 签名类型(image:图片,digital:数字签名) */
    private String signatureType;
    
    /** 数字证书内容 */
    private String digitalCertificate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getSignatureType() 
    {
        return signatureType;
    }

    public void setSignatureType(String signatureType) 
    {
        this.signatureType = signatureType;
    }

    public String getDigitalCertificate() 
    {
        return digitalCertificate;
    }

    public void setDigitalCertificate(String digitalCertificate) 
    {
        this.digitalCertificate = digitalCertificate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("position", getPosition())
            .append("imageUrl", getImageUrl())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("signatureType", getSignatureType())
            .append("digitalCertificate", getDigitalCertificate())
            .toString();
    }
} 